package com.xiaoshuidi.cloud.module.rooms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoshuidi.cloud.module.rooms.pojo.RoomDevicePeakValleyPrice;

/**
 * <p>
 * 峰谷水电价格表 服务类
 * </p>
 *
 * @author Jax
 * @since 2024-08-16
 */
public interface IRoomDevicePeakValleyPriceService extends IService<RoomDevicePeakValleyPrice> {

    /**
     * 根据 roomDeviceId 获取 峰谷水电价格表
     * @param devicePriceId 对应 room_sdiot_device_price 表的 id
     * @return
     */
    RoomDevicePeakValleyPrice getRoomDevicePeakValleyPrice(Long devicePriceId);
}
